package com.mew.common.rest.events;

import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;


@Data
@ToString
public class SignGetRequestMessage extends ZebraBaseMessage<SignGetRequestMessage> {

    private byte gainType; // 1 表示 领取14天， 2 领取28天  3， 4

    @Override
    public void write(ByteBuf byteBuf) {

    }

    @Override
    public SignGetRequestMessage read(ByteBuf byteBuf) {
        SignGetRequestMessage message = new SignGetRequestMessage();
        message.setGainType(readByte(byteBuf));
        return message;
    }
}
